package StrategyPattern;/** * Created by Administrator on 2018-10-17. * 具有火箭动力的飞行行为 */public class FlyRocketPowered implements  FlyBehavior {    public void fly() {        System.out.println("具有火箭动力的飞行行为");    }}